body {
    background: #FFFFFF;
}

/* 分类导航 */
.category-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #eee;
    padding: 0 10px;
    scroll-snap-type: x mandatory;

    /* ✅ 隐藏滚动条 - 兼容主流浏览器 */
    -ms-overflow-style: none;  /* IE 和 Edge */
    scrollbar-width: none;     /* Firefox */
}

.category-tabs::-webkit-scrollbar {
    display: none;  /* Chrome / Safari / Opera */
}


.category-tab {
    flex-shrink: 0;
    padding: 20px 16px;
    font-size: 15px;
    color: #666;
    position: relative;
    scroll-snap-align: start;
}

.category-tab a {
    text-decoration: none;
    color: inherit;
}


.category-tab.active {
    color: #f2551b;
    font-weight: bold;
}

.category-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 30%;
    right: 30%;
    height: 2px;
    background-color: #f2551b;
    border-radius: 2px;
}

/* 企业卡片列表 */
.company-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    justify-content: space-between;
}

.company-card {
    width: 48%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.company-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
}

